Predis\Connection\Aggregate\RedisCluster B

Total Complexity 82
Dependencies 12
Dependents 2
Total lines 627
Lines of code 281
Logical lines of code 156
Comment lines 210
Methods 33
Properties 7

Methods 33

Method Rating Maintainability Complexity Lines of code
getIterator()
S
58 6 15
setSlots()
S
60 6 12
buildSlotsMap()
S
56 5 17
askSlotsMap()
S
57 5 16
getConnectionBySlot()
S
59 5 14
queryClusterNodeForSlotsMap()
S
54 4 22
retryCommandOnFailure()
S
55 4 20
guessNode()
S
58 4 15
getConnection()
S
61 3 13
onMovedResponse()
S
61 3 12
onErrorResponse()
S
62 3 11
isConnected()
S
68 3 8
remove()
S
63 2 11
onAskResponse()
S
64 2 9
executeCommand()
S
68 2 7
getRandomConnection()
S
74 2 5
getConnectionById()
S
73 2 5
__construct()
S
75 2 4
getSlotsMap()
S
72 2 6
removeById()
S
65 2 10
disconnect()
S
74 2 5
connect()
S
74 2 5
setRetryLimit()
S
80 1 3
createConnection()
S
68 1 7
move()
S
75 1 4
resetSlotsMap()
S
81 1 3
add()
S
75 1 4
writeRequest()
S
80 1 3
readResponse()
S
79 1 3
count()
S
80 1 3
getClusterStrategy()
S
82 1 3
getConnectionFactory()
S
82 1 3
useClusterSlots()
S
80 1 3